<!DOCTYPE HTML>
<html lang="en">
<head>
    <title>服务查询条件配置</title>
    <meta http-equiv="x-ua-compatible" content="ie=edge"/>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <meta name="renderer" content="webkit"/>

    <!--toast-->
    <link href="../metronic/assets/global/plugins/jquery.toast.css " rel="stylesheet"/>
    <script src="../metronic/assets/global/plugins/jquery.min.js" type="text/javascript"></script>
    <script src="../metronic/assets/global/plugins/jquery.toast.min.js" type="text/javascript"></script>

    <!-- BEGIN GLOBAL MANDATORY STYLES -->
    <link href="../metronic/assets/global/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet"
          type="text/css"/>
    <link href="../metronic/assets/global/plugins/simple-line-icons/simple-line-icons.min.css" rel="stylesheet"
          type="text/css"/>
    <link href="../metronic/assets/global/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
    <link href="../metronic/assets/global/plugins/uniform/css/uniform.default.css" rel="stylesheet" type="text/css"/>
    <link href="../metronic/assets/global/plugins/bootstrap-switch/css/bootstrap-switch.min.css" rel="stylesheet"
          type="text/css"/>
    <link rel="stylesheet" type="text/css"
          href="../metronic/assets/global/plugins/bootstrap-touchspin/bootstrap.touchspin.min.css"/>
    <!-- END GLOBAL MANDATORY STYLES -->
    <!-- BEGIN PAGE LEVEL STYLES -->
    <link rel="stylesheet" type="text/css" href="../metronic/assets/global/plugins/select2/select2.css"/>
    <link rel="stylesheet" type="text/css"
          href="../metronic/assets/global/plugins/datatables/plugins/bootstrap/dataTables.bootstrap.css"/>
    <link href="../metronic/assets/global/plugins/codemirror/lib/codemirror.css" rel="stylesheet" type="text/css"/>
    <link href="../metronic/assets/global/plugins/codemirror/theme/neat.css" rel="stylesheet" type="text/css"/>
    <link href="../metronic/assets/global/plugins/codemirror/theme/ambiance.css" rel="stylesheet" type="text/css"/>
    <link href="../metronic/assets/global/plugins/codemirror/theme/material.css" rel="stylesheet" type="text/css"/>
    <link href="../metronic/assets/global/plugins/codemirror/theme/neo.css" rel="stylesheet" type="text/css"/>
    <!-- END PAGE LEVEL STYLES -->
    <!-- BEGIN THEME STYLES -->
    <link href="../metronic/assets/global/css/components.css" id="style_components" rel="stylesheet" type="text/css"/>
    <link rel="stylesheet" type="text/css" href="../metronic/assets/global/plugins/bootstrap/css/bootstrap-table.css"/>
    <link href="../theme/zTree/metroStyle/metroStyle.css" rel="stylesheet" type="text/css"/>
    <link href="../metronic/assets/global/plugins/icheck/skins/all.css" rel="stylesheet" type="text/css"/>
    <!-- END THEME STYLES -->
    <style type="text/css">
        .table {
            border-top: solid 3px #F3565D;
        }

        .CodeMirror {
            height: 200px !important
        }
    </style>
</head>
<body>
<ul id="tab_right" class="nav nav-pills nav-justified steps" style="border:solid 1px #337AB7;">
    <li class="active">
        <a href="#tab_1_1" data-toggle="tab" class="step">
			<span class="desc">
			<i class="fa fa-check"></i> 动态查询条件</span>
        </a>
    </li>
    <li>
        <a id="a_tab_1_2" href="#tab_1_2" data-toggle="tab" class="step">
			<span class="desc">
			<i class="fa fa-check"></i> 固定查询条件</span>
        </a>
    </li>
</ul>
<div class="tab-content">
    <div class="tab-pane active" id="tab_1_1">
        <div class="table-toolbar" style="margin-bottom:0px;">
            <div class="btn-group">
                <button id="btn_queryAdd" class="btn blue-steel"><i class="fa fa-plus"></i>新增</button>
            </div>
            <div class="btn-group">
                <button id="btn_queryUpdate" class="btn blue-steel"><i class="fa fa-plus"></i>修改</button>
            </div>

            <div class="btn-group">
                <button id="btn_queryDel" class="btn blue-steel"><i class="fa fa-remove"></i>删除</button>
            </div>
        </div>
        <table id="tb_queryfieldList"></table>
    </div>
    <div class="tab-pane" id="tab_1_2">
        <div class="table-toolbar" style="margin-bottom:0px;">
            <div class="btn-group">
                <button id="btn_querysAdd" class="btn blue-steel"><i class="fa fa-plus"></i>新增</button>
            </div>
            <div class="btn-group">
                <button id="btn_querysUpdate" class="btn blue-steel"><i class="fa fa-plus"></i>修改</button>
            </div>

            <div class="btn-group">
                <button id="btn_querysDel" class="btn blue-steel"><i class="fa fa-remove"></i>删除</button>
            </div>
        </div>
        <table id="tb_querysfieldList"></table>
    </div>
</div>
<!-- BEGIN PORTLET-->
<div class="portlet light bordered" style="margin-top:10px;">
    <div class="portlet-title">
        <div class="caption">
            <i class="icon-social-dribbble font-green"></i>
            <span class="caption-subject font-green bold uppercase">条件sql文预览</span>
            <span class="caption-helper">freemarker语法</span>
        </div>
    </div>
    <div class="portlet-body">
        <textarea id="code_editor">
        </textarea>
    </div>
</div>
<!-- END PORTLET-->


<!-- Begin隐藏域 -->
<input type="hidden" id="serviceId" name="serviceId" value=""/>
<input type="hidden" id="serviceType" name="serviceType" value=""/>
<input type="hidden" id="grade" name="grade" value=""/>
<!-- End隐藏域 -->
<!--<script src="../metronic/assets/global/plugins/jquery.min.js" type="text/javascript"></script>-->
<script src="../metronic/assets/global/plugins/jquery-migrate.min.js" type="text/javascript"></script>
<!-- IMPORTANT! Load jquery-ui.min.js before bootstrap.min.js to fix bootstrap tooltip conflict with jquery ui tooltip -->
<script src="../metronic/assets/global/plugins/jquery-ui/jquery-ui.min.js" type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/bootstrap-hover-dropdown/bootstrap-hover-dropdown.min.js"
        type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/jquery-slimscroll/jquery.slimscroll.min.js"
        type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/jquery.blockui.min.js" type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/jquery.cokie.min.js" type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/uniform/jquery.uniform.min.js" type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/bootstrap-switch/js/bootstrap-switch.min.js"
        type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/bootstrap-touchspin/bootstrap.touchspin.min.js"
        type="text/javascript"></script>
<!-- END CORE PLUGINS -->
<!-- BEGIN PAGE LEVEL SCRIPTS -->
<script src="../metronic/assets/global/scripts/metronic.js" type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/bootstrap/js/bootstrap-table.js" type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/bootstrap/js/bootstrap-table-zh-CN.js" type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/bootstrap/js/bootstrap-editable.js" type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/bootstrap/js/bootstrap-table-editable.js" type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/bootstrap/js/bootstrap-table-fixed-columns.js" type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/bootbox/bootbox.min.js" type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/icheck/icheck.min.js" type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/codemirror/lib/codemirror.js" type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/codemirror/mode/javascript/javascript.js"
        type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/codemirror/mode/htmlmixed/htmlmixed.js" type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/codemirror/mode/css/css.js" type="text/javascript"></script>
<script src="../metronic/assets/global/plugins/codemirror/mode/velocity/velocity.js" type="text/javascript"></script>
<!-- END PAGE LEVEL SCRIPTS -->
<script src="../metronic/custom/commDialogs.js" type="text/javascript"></script>
<script src="../js/serviceConfigration/queryConditionConfig.js" type="text/javascript"></script>
</body>
</html>
